# -*- coding:utf-8 -*-
__author__ = 'Dragon Sun'
__date__ = '2025-07-09 13:33:44'

from PySide6.QtWidgets import QMessageBox


def 显示错误对话框(信息: str):
    对话框 = QMessageBox()
    对话框.setWindowTitle('错误')
    对话框.setText(信息)
    对话框.setIcon(QMessageBox.Icon.Critical)
    对话框.exec()
